MacD Short and/or Long with Bi-Directional TP and SL This tool allows you to test any variable value for MacD and Signal for going Long or Short with each market direction having customizable values for stop loss and take profit.
For example, sometimes the MacD and Signal values are better with different lengths between Short and Long. You can use this tool to see them overlaid and determine the best settings for going one direction or the other.
This script was preset for use with XBTUSD on the 4 hour time frame. Another example with this in mind, is take profits and stop losses might not work in the Long market direction but going Short does! Without this tool that would be hard to see since typically stop loss and take profit is applied to both directions. I found with this tool that a 20% take profit seems to be a good sweet spot for going short with this strategy.
You can customize which MacD histogram you see by going to the style section and turning off the Short or Long parameters so you can see only 1 histogram at a time if you wish.
If you have any questions, please PM me.
在腳本中搜尋"stop loss"
The best scalping strategyPullbacks are always the most difficult part of trading, and when this happens, we struggle to make a decision about whether to continue trading and wait for a recovery or reduce losses. Similarly, when the instrument has a good trend, it is often difficult to make a decision if we want to withdraw some profit. This strategy is aimed at facilitating these decisions, it looks for price impulses and, based on this, calculates the pullback of the price at which it is necessary to place limit buy orders (yellow lines) based on Fibonacci levels. We place the stop loss on the red line, on the blue and pink lines it is necessary to put a take profit of 50% each. The entry and exit indicator does not always correctly display the entry and exit points, so it is necessary to work with limit orders.
-In the settings, you can change the number of candles participating in the cycle, if the price is at the same level for a long time and limit orders do not work, then it is recommended to reduce the number of candles.
-The remaining parameters are still under development, it is better not to touch them. In the future, I plan to add a limit on the amount of loss as a percentage, for more fine-tuning of risk management
Откаты всегда являются самой сложной частью торговли, и когда это происходит, мы изо всех сил пытаемся принять решение о том, продолжать ли торговлю и ждать восстановления или сократить убытки. Точно так же, когда инструмент имеет хороший тренд, часто трудно принять решение, если мы хотим снять некоторую прибыль. Эта стратегия направлена на то, чтобы облегчить эти решения, она ищет ценовые импульсы и исходя из этого рассчитывает по уровням фибоначи откат цены, на которых необходимо разместить лимитные ордера на покупку (желтые линии). Стоп-лос размещаем на красной линии, на синей и розовой линии необходимо поставить тэйк-профит по 50%. Индикатор входа и выхода не всегда корректно отображает точку входа и выхода, поэтому необходимо работать с лимитными ордерами.
-В настройках можно менять количество свечей участвующих в цикле, если цена долго находится на одном уровне и не срабатывают лимитные ордера то рекомендуются уменьшить количество свечей.
-Остальные параметры до сих пор находятся в разработке, их лучше не трогать. В дальнейшем планирую добавить ограничение размера убытка в процентах, для более тонкой настройки риск менеджмента
Keltner Worm Strategy [PrismBot] [Lite]Included in this Keltner Worm Lite Strategy:
✔️ Tweak a multitude of specific settings (MA lengths, R:R, SL distance etc)
✔️ Enable advanced setup filters
✔️ Use money management and risk calculations
✔️ Draw trade info directly to chart (eg. SL size in percent, win rate etc)
✔️ Use various filters (eg. time filter, date filter, MA slope angle etc)
✔️ Manage risk per position when auto-trading forex through AutoView
✔️ Choose from various alert conditions!
✔️ Sync to any bot or algorithmic trading system
Some details about this strategy:
- it incorporates 2 strategies - Keltner Re-entry and Baseline MA Crossing
- it uses a take profit and stop loss level fixed
- there are up to 6 allowable "worms"
- the worm multipliers are exponential, so a value of 2 will mean that the 6th worm is multiplied by 6
- you can multiply the offset or the Keltner Channel default values
- You can enable alerts for order entry, take profit, and stop loss values
- You can easily enable and disable strategies using the checkbox.
- This strategy incorporates a risk to reward system where the user can select between ATR and Percent based stop losses and take profit targets. This means that the user has much better control over money management when utilizing this strategy and it doesn't require you to babysit the strategy to ensure it's entering and existing strategies in an ideal place.
Bollinger Band with RSI
Using combination bollinger band and RSI indicator as guide to predict price volatility and the best entry point. The strategy logic is pretty straightforward where we're interested with close price that touches the lower bollinger band ; there are only two scenarios that will happened after the price reaches the lower band; the price might rebound from the lower bollinger band or drop lower and continue downtrend. To confirm the price movement, we use a second indicator which is the RSI to further investigate the price trend. For example, if the price reaches the lower bollinger band but the RSI value is not in the oversold region, we can conclude that the price will go lower and continue downtrend. If the RSI value is in the oversold region, we can use this price area as our entry point.
Stop loss is necessary to avoid losing too much capital if the RSI value lingers too long in the oversold region.
Best take profit area is when the price rebound above the middle bollinger band area/upper bollinger band or when the RSI reaches overbought region; whichever comes first.
Long entry:
RSI < 30 & close price < lower bollinger band
Exit entry:
RSI > 70
Default stop loss: -25%
TradingView Alerts to MT4 MT5 - Forex, indices, commoditiesHowdy Algo-Traders! This example script has been created for educational purposes - to present how to use and automatically execute TradingView Alerts on real markets.
I'm posting this script today for a reason. TradingView has just released a new feature of the PineScript language - ALERT() function. Why is it important? It is finally possible to set alerts inside PineScript strategy-type script, without the need to convert the script into study-type. You may say triggering alerts straight from strategies was possible in PineScript before (since June 2020), but it had its limitations. Starting today you can attach alert to any custom event you might want to include in your PineScript code.
With the new feature, it is easier not only to execute strategies, but to maintain codebase - having to update 2 versions of the code with each single modification was... ahem... inconvenient. Moreover, the need to convert strategy into study also meant it was required to rip the code from all strategy...() calls, which carried a lot of useful information, like entry price, position size, and more, definitely influencing results calculated by strategy backtest. So the strategy without these features very likely produced different results than with them. While it was possible to convert these features into study with some advanced "coding gymnastics", it was also quite difficult to test whether those gymnastics didn't introduce serious, bankrupting bugs.
//////
How does this new feature work? It is really simple. On your custom events in the code like "GoLong" or "GoShort", create a string variable containing all the values you need inside your alert and this string variable will be your alert's message. Then, invoke brand new alert() function and that's it (see lines 67 onwards in the script). Set it up in CreateAlert popup and enjoy. Alerts will trigger on candle close as freq= parameter specifies. Detailed specification of the new alert() function can be found in TradingView's PineScript Reference (www.tradingview.com), but there's nothing more than message= and freq= parameters. Nothing else is needed, it is very simple. Yet powerful :)
//////
Alert syntax in this script is prepared to work with TradingConnector. Strategy here is not too complex, but also not the most basic one: it includes full exits, partial exits, stop-losses and it also utilizes dynamic variables calculated by the code (such as stop-loss price). This is only an example use case, because you could handle variety of other functionalities as well: conditional entries, pending entries, pyramiding, hedging, moving stop-loss to break-even, delivering alerts to multiple brokers and more.
//////
This script is a spin-off from my previous work, posted over a year ago here: Some comments on strategy parameters have been discussed there, but let me copy-paste most important points:
* Commission is taken into consideration.
* Slippage is intentionally left at 0. Due to shorter than 1 second delivery time of TradingConnector, slippage is practically non-existing.
* This strategy is NON-REPAINTING and uses NO TRAILING-STOP or any other feature known to be causing problems.
* The strategy was backtested on EURUSD 6h timeframe, will perform differently on other markets and timeframes.
Despite the fact this strategy seems to be still profitable, it is not guaranteed it will continue to perform well in the future. Remember the no.1 rule of backtesting - no matter how profitable and good looking a script is, it only tells about the past. There is zero guarantee the same strategy will get similar results in the future.
Full specs of TradingView alerts and how to set them up can be found here: www.tradingview.com
Ultimate Oscillator [Long] StrategyAfter I published Short Selling strategy with RSIofUO , I have been working for Long side strategy with same indicator.
but for Long strategy , I have used only the Ultimate Oscillator ... (Not the RSI of UO)
Logic behind this is , when UO goes below oversold level , high chance of possible reversal from there ...
Ultimate Oscialltor values , I have used are 5, 10 and 15
Signal Line 9
Above values are best/defaulted based on testing the strategy multiple symbols
BUY
when UO crossing up buyLine and close > open ( if the cross over is already done , it will wait for 3 candles to see a green bar i.e close>open )
Note when the bar color changes to orange , that means startegy is ready to take LONG position on next bar. But dont jump here , waith for the startegy take the Long Position :-)
Add
Signal appears when there is divergence (marked in yellow color ) ... strategy doesnt add the position , it is ony indicating you could add to existing OR if you missed the BUY signal you could enter here
Partial Exit
when UO crossing down partial exit level
Exit
When UO crossing down sell line
StopLoss
stop loss defaulted to 3%
Please note , I have slightly modified stop loss exit in this strategy.
Even though price hits 3% stoploss , strategy wont wind up the position ...
First , it will check if RSIofUO is above 30 , then it will hold on to the Long position.
Very reason behind this is , price is falling down and UO is going up ... That means there is bullish divergence here .. so it might turn this losing position to profitable one or will exit you with less than 3% loss.
Tested with SPY , QQQ , TSLA on 30mins to 4hrs. Though winning rate is average , net profit is exponential ...
Best working on 30 mins and 1 HR chart for QQQ
Warning
For the eductional purposes only ...
This is not a financial advise , before taking trading decission please do your own research
Scalping Strategy with SL and TP activation settingsThis strategy can be used on pretty much every timeframe that gives you a satisfying performance and will give you entries with a high probability of a winning trade.
Recommended are lower timeframes, because after all this is a scalping strategy and with that your chart wont be cluttered.
How to use this script?
Currently you can setup your positions SL and TP, because the markets vary in volatility it could improve the performance of the strategy.
You will simply get your signals and can decide to act upon them.
Stop loss: Simply your stop loss order which will trigger when price moves a given % away from your entry.
TP-Activation: When price reaches your % target it will trigger a stop limit order. So if price turns against your position after reaching your target it will close your position in profit and if it runs in your favoured direction it will trigger at a later stage.
Trailing-Offset-%: After reaching your % target it will trigger the TP order with an offset. So if you set your trailing offset to 0.1%, your TP order will be set behind 0.1 %. This can be used to test if the strategy would perform as well
if you leave more room for trades to play out.
Will this script make me profitable?
No strategy is a silver bullet and it depends mostly on you.
Trading is not easy and most people fail, because their risk management skills arent solid or they cant control their emotions.
This script will give you statistically often good entries, so even if you hit a losing streak your SL will protect you from losing more than necessary until you get a winning streak.
Patience and consistency is key to be profitable in the long run.
Does the script repaint?
Although you will get a notification when setting an alarm that the indicator may repaint, no security function is used and the signals will stay on the chart, because the signal is calculated based on the last candle close and will trigger with the next candle.
I am still looking into why that notification pops up.
You are free to try the indicator for a limited time to be sure.
My experience with the strategy
The overall statistical advantage is great. The strategy can be used simply as it is, but becomes better if you already have some experience with trading. Sometimes it will give you a good entry, reaches your target and the price still goes in your preferred direction. So your trading returns and experience could be improved with confluence, but it is totally fine as it is and if used right will help you get going.
Disclaimer: This is no financial advice. This is a tool and I am not responsible for your actions.
If you are interested in the indicator feel free to dm me on TradingView.
MACD 50x Leveraged Short Strategy with Real Equity
Hello there ,
Short version of the Macd Long strategy.
MACD Long strategy:
Adding margin: Forbidden or not specified. (Add Margin : No)
Position size: (for each trade) 1%
Stop-Loss: (2% Above Entry Level)
Long: macd crossunder
Exit: macd crossover
Or ofc touching the stop-Loss value as predicted.
These strategies are just examples.
The goal is to observe true equity and equity change.
Warning: This strategy simulation is for Short direction only.
Regards.
MACD 50x Leveraged Long Strategy Results with Real Equity Hello there.
I was looking for a way to simulate leveraged transactions in Tradingview and this script came out.
You can examine the equity graph without looking at the strategy results.
Thus, the facts will come to light.
Strategy parameters:
Adding margin: Forbidden or not specified. (Add Margin : No)
Position size: (for each trade) 1%
Stop-Loss: (2%)
Long: macd crossover
Exit: macd crossunder
Or ofc touching the stop-Loss value as predicted.
Warning: This strategy simulation is for Long direction only.
Regards.
Profits Unlimited Pro Strategy** This is the backtesting (strategy) version of ~ Profits Unlimited Pro ~ proprietary script in TradingView. **
~ Profits Unlimited Pro Strategy ~
֎ Trading system script on tradingview that brings an easy approach to trading with a high profitability rate
֎ Our proprietary formula was developed over the course of the past two years through a combination of trial and error and algorithmic backtesting.
-- HOW IT WORKS --
֎ The algorithm starts with a proprietary script combining custom inputs with a formula that works with custom bollinger bands settings and specific RSI levels to results in deadly accurate signals for long and short entry points.
but that's not all...
֎ When we first developed our formula, we noticed that it produced a lot of accurate signals but also didn't fully understand the dynamics of market momentum and trending directions...
...so there were a lot of needless calls being made that were reducing profitability.
You see, most markets spend roughly 80% of the time trading sideways with no significant trend either up or down...
...And trading these sideways markets commonly result in what's called a "whipsaw"...
A whipsaw is when price is moving in one direction but then quickly pivots to move in the opposite direction resulting in a loss. And nobody wants to be stuck trading in a sideways market getting killed by whipsaws all day...
So what did we do to fix this?...
-- THE WINNING FORMULA --
֎ We added the Average Directional Index into our custom formula with a goal of teaching the algorithm to only trade during periods of strong momentum and trends whether up or down.
֎ We also added trend exhaustion levels to give clear indication for exit signals and help determine best times of getting out of a trade.
֎ Trend Exhaustion Levels work in conjunction with trailing stop loss % and both are customizable for ideal exits and profitability.
֎ The results are mind blowing!
-- WHO IT'S FOR --
֎ Optimized for crypto markets, to catch trend movements as soon as possible and maximize profitability
֎ It's A Swing Traders Dream.
-- What You Get --
֎ Sell & Buy alerts, Stop Loss alerts and always adding new features!
֎ Customizable settings.
֎ Chrome Extension in development for fine-tuning settings automatically(COMING SOON)
-You will be able to select an asset. push a button. and the extension will find the best settings for you!
֎ Users Facebook community for learning, sharing and direct support
If you’d like to test the trading script in TradingView, I can give you access to a 10 days trial.
Please send me PM in tradingview and I’ll activate it right away.
Thank you!
Low volatility Buy w/ TP & SL (Coinrule)The compression of volatility usually leads to expansion. When the breakout comes, it can ignite strong trends. One way to catch a coin trading in an accumulation area is to spot three moving averages with values close to each other. The strategy uses a combination of Moving Averages to spot the best time to buy a coin before its breakout.
Buy Condition
The MA200 is greater than the MA100
The MA50 is greater than the MA100
According to backtesting results, the 1-hour time frame is the best to run this strategy.
Sell Condition
Take Profit: the price increases 8% from the entry price
Stop Loss: the price drops 4% from the entry price
The strategy has a profitability of 40-60% (depending on the market conditions). Having a ratio of two between Take profit and Stop Loss helps keeping the strategy profitable in the long term.
Triple EMA Scalper low lag stratHi all,
This strategy is based on the Amazing scalper for majors with risk management by SoftKill21
The change is in lines 11-20 where the sma's are replaced with Triple ema's to
lower the lag.
The original author is SoftKill21. His explanation is repeated below:
Best suited for 1M time frame and majors currency pairs.
Note that I tried it at 3M time frame.
Its made of :
Ema ( exponential moving average ) , long period 25
Ema ( exponential moving average ) Predictive, long period 50,
Ema ( exponential moving average ) Predictive, long period 100
Risk management , risking % of equity per trade using stop loss and take profits levels.
Long Entry:
When the Ema 25 cross up through the 50 Ema and 100 EMA . and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Short Entry:
When the Ema 25 cross down through the 50 Ema and 100 EMA , and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Exit:
TargetPrice: 5-10 pips
Stop loss: 9-12 pips
Amazing scalper for majors with risk managementHello,
Today I am glad to bring you an amazing simple and efficient scalper strategy.
Best suited for 1M time frame and majors currency pairs.
Its made of :
Ema (exponential moving average) , long period 25
Ema(exponential moving average) Predictive, long period 50,
Ema(exponential moving average) Predictive, long period 100
Risk management , risking % of equity per trade using stop loss and take profits levels.
Long Entry:
When the Ema 25 cross up through the 50 Ema and 100 EMA. and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Short Entry:
When the Ema 25 cross down through the 50 Ema and 100 EMA, and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Exit:
TargetPrice: 5-10 pips
Stop loss: 9-12 pips
Hope you enjoy it :)
cross ema Strategy(lirshah)cross ema strategy has been written based on ema crossovers,
this strategy trigger buy signal when a fast ema signal crosses the slow ema.
the advantage of this strategy is that, the order will be pending untill it hit one of the emas and then we will have a trade open.
the next goodness of this strategy is that, it has a none- repainting stop loss.
so the strategy defined intrabar stop loss enstead of fixed stoploss.
the strategy have the capacity to work with 10 pip loss,
so it means more profits and lower draw down.
the below overview is results of US30 wall street index on 5 min chart.
in order to access scripts contact me directly.
HFT Momentum BacktesterDefault Settings are meant to be used in XBT/USD chart on 1 hour time frame. If you want to use for another asset on another time frame YOU MUST CHANGE THE SETTINGS
This is momentum-based strategy designed by HFT Research in order to take advantage of volatile, trending markets.
Use ADX
ADX stands for average directional index . It is an indicator that measures volatility in the market. Unfortunately, the worst market condition for this strategy is sideways market. ADX becomes a useful tool since it can detect trend. If the volatility is low and there is no real price movement, ADX will pick that up and will not let you get in trades during a sideways market. It will allow you to enter trades only when the market is trending.
Use MA CrossOver
This strategy’s main driver is the moving average cross over however, unlike many other indicators, this strategy has ALL the moving averages that are on trading view. Total of 13 different moving averages all calculated in a different fashion available in a drop-down menu. You are able to choose two different moving averages to cross for your entry as well as being able to adjust the length of each individual moving average.
Use MA Spread % Filter
As an extra protection, we introduced MA spread % filter. We all know that momentum strategy works when there is actually a trend that has momentum. When there is no trend and market side choppy, we get a lot of noisy signals. In order to battle that we have introduced MA spread % filter. Using this piece of setting, you will be able to chose how strong the cross over actually is. If price is moving sideways, the moving averages will cross each other barely. If the price has actually any steam and momentum, MA 1 will cross over MA 2 aggressively because it will be trending market.
First you chose what the minimum % difference there should be between your 2 moving averages. If you keep this too tight, it won’t be as useful and if you keep this too large then the script will not generate any signals. Trust us, there is a fine balance in between! Then you proceed to chose your moving averages that the bot should keep track of.
Check our website for more information.
Backtest assumes the following;
You have 1000$ to trade
You use 1% of your capital on cross margin with 1% Stop Loss. Therefore, every trade has 100% equity effect on your balance and 1% stop loss has 1% loss effect
0.06% commission taking Binance as base. Please change commission if you are using another exchange.
Why is it ok to backtest on TradingView from now on!TradingView backtester has bad reputation. For a good reason - it was producing wrong results, and it was clear at first sight how bad they were.
But this has changed. Along with many other improvements in its PineScript coding capabilities, TradingView fixed important bug, which was the main reason for miscalculations. TradingView didn't really speak out about this fix, so let me try :)
Have a look at this short code of a swing trading strategy (PLEASE DON'T FOCUS ON BACKTEST RESULTS ATTACHED HERE - THEY DO NOT MATTER). Sometimes entry condition happens together with closing condition for the already ongoing trade. Example: the condition to close Long entry is the same as a condition to enter Short. And when these two aligned, not only a Long was closed and Short was entered (as intended), but also a second Short was entered, too!!! What's even worse, that second short was not controlled with closing conditions inside strategy.exit() function and it very often lead to losses exceeding whatever was declared in "loss=" parameter. This could not have worked well...
But HOORAY!!! - it has been fixed and won't happen anymore. So together with other improvements - TradingView's backtester and PineScript is now ok to work with on standard candlesticks :)
Yep, no need to code strategies and backtest them on other platforms anymore.
----------------
Having said the above, there are still some pitfalls remaining, which you need to be aware of and avoid:
Don't backtest on HeikenAshi, Renko, Kagi candlesticks. They were not invented with backtesting in mind. There are still using wrong price levels for entries and therefore producing always too good backtesting results. Only standard candlesticks are reliable to backtest on.
Don't use Trailing Stop in your code. TradingView operates only on closed candlesticks, not on tick data and because of that, backtester will always assume price has first reached its favourable extreme (so 'high' when you are in Long trade and 'low' when you are in Short trade) before it starts to pull back. Which is rarely the truth in reality. Therefore strategies using Trailing Stop are also producing too good backtesting results. It is especially well visible on higher timeframe strategies - for some reason your strategy manages to make gains on those huge, fat candlesticks :) But that's not reality.
"when=" inside strategy.exit() does not work as you would intuitively expect. If you want to have logical condition to close your trade (for example - crossover(rsi(close,14),20)) you need to place it inside strategy.close() function. And leave StopLoss + TakeProfit conditions inside strategy.exit() function. Just as in attached code.
If you're working with pyramiding, add "process_orders_on_close=ANY" to your strategy() script header. Default setting ("=FIFO") will first close the trade, which was opened first, not the one which was hit by Stop-Loss condidtion.
----------------
That's it, I guess :) If you are noticing other issues with backtester and would like to share, let everyone know in comments. If the issue is indeed a bug, there is a chance TradingView dev team will hear your voice and take it into account when working on other improvements. Just like they heard about the bug I described above.
P.S. I know for a fact that more improvements in the backtesting area are coming. Some will change the game even for non-coding traders. If you want to be notified quickly and with my comment - gimme "follow".
The Always Winning Holy Grail Strategy - Not (by ChartArt)How to win all the time if 1+1 = 2
The most upvoted strategies on Tradingview are those which seemingly work 100%, but they actually don't at all because they are repainting and would not work in live trading reality. They are using the multi-time-frame strategy testing bug and thereby trade during the backtest on close prices before the bar has closed in reality.
Top list of these cheating repainting strategies:
1569 upvotes ANN Strategy
877 upvotes Vdub FX SniperVX3 Strategy
481 upvotes Get Trend Strategy
I guess there are much more strategies among the top upvoted strategies on Tradingview which cheat with a multi-time-frame close price, but three examples are enough. The ANN Strategy uses the daily close price as multi-time-frame and cheats with that. The Vdub FX SniperVX3 Strategy uses the half-day (720 minute) close price to cheat and the Get Trend Strategy uses the 160 minute bar close for repaint cheating (at least here the author of this strategy explains that his strategy is only demo and would not work, which might be the reason why it has 1000 less upvotes than the ANN Strategy. I already wrote months ago a comment underneat these strategies to explain this issue but it hasn't stopped these strategies from getting more and more upvotes and staying in the top list.
I thought this way of cheating is lame, so I invented a new way to cheat my way to seemingly reach 100% profitable trades all the time by going long if 1+1 is equal to 2. Welcome to super wide stop losses. Simply use a extreme unrealistic large stop loss and take profit after a realistic amount of pips and according to Tradingview's current backtest module you win 100% all the time. Yay! :)
My recommendation for the Tradingview team is to add a function to let the user define a stop out and margin call level and maybe set a realistic setting as default, like 100%.
Please don't trade with this strategy!
Ai BTC Signal Sell & Whales / liquidation - Strategy [Ai Whales]Dear trader,
Professional analysts participated in the development and artificial intelligence was introduced to adapt Sell signals to the modern, constantly changing and highly volatile BTCUSD market, as well as taking into account the presence and actions of large institutional players - the so-called "sales whales". This strategy is an analogue and continuation of another script for buying Bitcoin (Ai BTC Signals Buy & Whales / Liquidation - Strategy ), only this script shows only signals for selling / manipulations and liquidating traders who opened short positions. The strategy allows you to instantly evaluate any configuration that you set in the indicator and see the results reflected in professional performance indicators corresponding to the strategy you have chosen.
The indicator displays several signals on the chart:
1) Sell signal (not buy signals)
2) Take profit line and price
3) Stop loss line and price
4) Manipulations and liquidations observed in the market
5) Whale activity - sell with small, medium and large volumes
The indicator does not repaint, since it is based on displaying signals only after the candle closes, so the calculations are correct and not distorted.
Recommended pair: BTCUSD ; BTCUSDT ; BTCUSDTP etc. The indicator can show R / R - 0.5:1 1:1 1:2 1:3 1:4
Recommended timeframes for use: from 4 hours to 1 week, ideally - 1 day. However, you can experiment with other close timeframes.
Possible trading modes: spot or futures.
Some methods used in the calculations of the indicator:
- statistical patterns that have the ability to repeat in the future. Bitcoin cycles in different market phases, which also have the ability to repeat and are included in the indicator,
- miner capitulation and hash rate are also taken into account by the indicator,
- candle volumes and their deltas are taken into account in the calculations,
- as well as other bases such as RSI and its divergence, EMA crossing of various configurations, etc.
**How the strategy calculates positions:**
The position is opened at the Sell signal level and is fixed at the level of the thick blue line, which serves as the main target of the take profit. Pyramiding (adding to positions) can be enabled in the settings.
The size of each position is adjusted through the settings. It is important that each signal creates its own take profit lines. When pyramiding is enabled, all positions are eventually closed at the nearest take profit level generated by any of the pyramiding signals. This approach minimizes potential losses if the price does not reach the initially set maximum take profit levels; the strategy closes positions at the nearest available take profit level. This conservative method of the strategy reduces risk, although ideally each position in the pyramid should be closed at an individual take profit level, which will lead to even better results with deep backtesting.
The strategy includes alerts that can be customized depending on the capabilities of your platform. Alerts are triggered on the chart when Sell or Whale signals are detected.
**Settings overview:**
- Inside the strategy: default platform settings.
- Inside the indicator there are several filters:
1) allows traders to choose display modes
2) enter positions based on the market phase - rising or falling
3) can also choose whether to trade after manipulations and liquidations
4) can also choose whether to trade after whale activity (small, medium or large number of selling whales).
You can manually adjust the take profit and stop loss levels with simple method selections, making them flexible yet user-friendly. The indicator offers three main styles:
- "Universal" (standard levels)
- "Aggressive"
- "Conservative"
**Results and caveats:**
Deep backtesting from the first day of Bitcoin listing on various exchanges under certain conditions (no liquidations, certain settings) showed a maximum drawdown of about 4-15%, with the final return approaching more than 7000% and a WinRate of 95-100%. However, it is important to understand that such impressive past results do not guarantee future results.
If you are serious about your investments, remember that geopolitical events, institutional shifts, or other unforeseen factors can significantly affect the price of Bitcoin or even its existence. Unfortunately, the AI has not yet learned to fully take these macroeconomic conditions into account in its adaptive mechanisms.
Trade wisely and use this powerful tool responsibly.
Best wishes,
Intraday Trading Hit and Run# Strategy Overview
This is a short-term trading system designed for quick entries/exits (intraday). It uses multiple technical indicators to identify momentum trades in the direction of the trend, with built-in risk management through trailing stops.
# Main Components
1. Trend Filter
Uses two EMAs (10-period "fast" blue line and 100-period "slow" red line)
Only trades when:
Long: Price AND fast EMA are above slow EMA
Short: Price AND fast EMA are below slow EMA
2. Main Signal
////Stochastic Oscillator (14-period):
Buy when %K line crosses above %D line
Sell when %K crosses below %D
////Trend Strength Check
Smoothed ADX indicator (5-period EMA of ADX):
Requires ADX value ≥ 25 to confirm strong trend
3. Confirmation using Volume Filter (Optional)
Checks if current volume is 1.5× greater than 20-period average volume
# Entry Rules
A trade is only taken when:
All 3 indicators agree (EMA trend, Stochastic momentum, ADX strength)
Volume filter is satisfied (if enabled)
# Exit Rules
1. Emergency Exit:
Close long if price drops below fast EMA
Close short if price rises above fast EMA
2. Trailing Stop:
Actively protects profits by moving stop-loss:
Maintains 0.1% distance from highest price (longs) or lowest price (shorts)
# Risk Management
Only use 10% of account per trade
Includes 0.04% commission cost in calculations
All trades monitored with trailing stops
# How It Operates
The strategy looks for strong, high-volume momentum moves in the direction of the established trend (as determined by EMAs). It jumps in quickly ("hit") when conditions align, then protects gains with an automatic trailing stop ("run"). Designed for fast markets where trends develop rapidly.
You can use it on 15m, 1h or 4h
REVELATIONS (VoVix - PoC) REVELATIONS (VoVix - POC): True Regime Detection Before the Move
Let’s not sugarcoat it: Most strategies on TradingView are recycled—RSI, MACD, OBV, CCI, Stochastics. They all lag. No matter how many overlays you stack, every one of these “standard” indicators fires after the move is underway. The retail crowd almost always gets in late. That’s never been enough for my team, for DAFE, or for anyone who’s traded enough to know the real edge vanishes by the time the masses react.
How is this different?
REVELATIONS (VoVix - POC) was engineered from raw principle, structured to detect pre-move regime change—before standard technicals even light up. We built, tested, and refined VoVix to answer one hard question:
What if you could see the spike before the trend?
Here’s what sets this system apart, line-by-line:
o True volatility-of-volatility mathematics: It’s not just "ATR of ATR" or noise smoothing. VoVix uses normalized, multi-timeframe v-vol spikes, instantly detecting orderbook stress and "outlier" market events—before the chart shows them as trends.
o Purist regime clustering: Every trade is enabled only during coordinated, multi-filter regime stress. No more signals in meaningless chop.
o Nonlinear entry logic: No trade is ever sent just for a “good enough” condition. Every entry fires only if every requirement is aligned—local extremes, super-spike threshold, regime index, higher timeframe, all must trigger in sync.
o Adaptive position size: Your contracts scale up with event strength. Tiny size during nominal moves, max leverage during true regime breaks—never guesswork, never static exposure.
o All exits governed by regime decay logic: Trades are closed not just on price targets but at the precise moment the market regime exhausts—the hardest part of systemic trading, now solved.
How this destroys the lag:
Standard indicators (RSI, MACD, OBV, CCI, and even most “momentum” overlays) simply tell you what already happened. VoVix triggers as price structure transitions—anyone running these generic scripts will trade behind the move while VoVix gets in as stress emerges. Real alpha comes from anticipation, not confirmation.
The visuals only show what matters:
Top right, you get a live, live quant dashboard—regime index, current position size, real-time performance (Sharpe, Sortino, win rate, and wins). Bottom right: a VoVix "engine bar" that adapts live with regime stress. Everything you see is a direct function of logic driving this edge—no cosmetics, no fake momentum.
Inputs/Signals—explained carefully for clarity:
o ATR Fast Length & ATR Slow Length:
These are the heart of VoVix’s regime sensing. Fast ATR reacts to sharp volatility; Slow ATR is stability baseline. Lower Fast = reacts to every twitch; higher Slow = requires more persistent, “real” regime shifts.
Tip: If you want more signals or faster markets, lower ATR Fast. To eliminate noise, raise ATR Slow.
o ATR StdDev Window: Smoothing for volatility-of-volatility normalization. Lower = more jumpy, higher = only the cleanest spikes trigger.
Tip: Shorten for “jumpy” assets, raise for indices/futures.
o Base Spike Threshold: Think of this as your “minimum event strength.” If the current move isn’t volatile enough (normalized), no signal.
Tip: Higher = only biggest moves matter. Lower for more signals but more potential noise.
o Super Spike Multiplier: The “are you sure?” test—entry only when the current spike is this multiple above local average.
Tip: Raise for ultra-selective/swing-trading; lower for more active style.
Regime & MultiTF:
o Regime Window (Bars):
How many bars to scan for regime cluster “events.” Short for turbo markets, long for big swings/trends only.
o Regime Event Count: Only trade when this many spikes occur within the Regime Window—filters for real stress, not isolated ticks.
Tip: Raise to only ever trade during true breakouts/crashes.
o Local Window for Extremes:
How many bars to check that a spike is a local max.
Tip: Raise to demand only true, “clearest” local regime events; lower for early triggers.
o HTF Confirm:
Higher timeframe regime confirmation (like 45m on an intraday chart). Ensures any event you act on is visible in the broader context.
Tip: Use higher timeframes for only major moves; lower for scalping or fast regimes.
Adaptive Sizing:
o Max Contracts (Adaptive): The largest size your system will ever scale to, even on extreme event.
Tip: Lower for small accounts/conservative risk; raise on big accounts or when you're willing to go big only on outlier events.
o Min Contracts (Adaptive): The “toe-in-the-water.” Smallest possible trade.
Tip: Set as low as your broker/exchange allows for safety, or higher if you want to always have meaningful skin in the game.
Trade Management:
o Stop %: Tightness of your stop-loss relative to entry. Lower for tighter/safer, higher for more breathing room at cost of greater drawdown.
o Take Profit %: How much you'll hold out for on a win. Lower = more scalps. Higher = only run with the best.
o Decay Exit Sensitivity Buffer: Regime index must dip this far below the trading threshold before you exit for “regime decay.”
Tip: 0 = exit as soon as stress fails, higher = exits only on stronger confirmation regime is over.
o Bars Decay Must Persist to Exit: How long must decay be present before system closes—set higher to avoid quick fades and whipsaws.
Backtest Settings
Initial capital: $10,000
Commission: Conservative, realistic roundtrip cost:
15–20 per contract (including slippage per side) I set this to $25
Slippage: 3 ticks per trade
Symbol: CME_MINI:NQ1!
Timeframe: 1 min (but works on all timeframes)
Order size: Adaptive, 1–3 contracts
No pyramiding, no hidden DCA
Why these settings?
These settings are intentionally strict and realistic, reflecting the true costs and risks of live trading. The 10,000 account size is accessible for most retail traders. 25/contract including 3 ticks of slippage are on the high side for NQ, ensuring the strategy is not curve-fit to perfect fills. If it works here, it will work in real conditions.
Tip: Set to 1 for instant regime exit; raise for extra confirmation (less whipsaw risk, exits held longer).
________________________________________
Bottom line: Tune the sensitivity, selectivity, and risk of REVELATIONS by these inputs. Raise thresholds and windows for only the best, most powerful signals (institutional style); lower for activity (scalpers, fast cryptos, signals in constant motion). Sizing is always adaptive—never static or martingale. Exits are always based on both price and regime health. Every input is there for your control, not to sell “complexity.” Use with discipline, and make it your own.
This strategy is not just a technical achievement: It’s a statement about trading smarter, not just more.
* I went back through the code to make sure no the strategy would not suffer from repainting, forward looking, or any frowned upon loopholes.
Disclaimer:
Trading is risky and carries the risk of substantial loss. Do not use funds you aren’t prepared to lose. This is for research and informational purposes only, not financial advice. Backtest, paper trade, and know your risk before going live. Past performance is not a guarantee of future results.
Expect more: We’ll keep pushing the standard, keep evolving the bar until “quant” actually means something in the public code space.
Use with clarity, use with discipline, and always trade your edge.
— Dskyz , for DAFE Trading Systems
Ai BTC Signals Buy & Whales / Liquidation - Strategy [Ai Whales]Dear Trader,
The development involved professional analysts and incorporated AI to adapt signals to the modern, constantly changing, and highly volatile BTCUSD market, also taking into account the presence and actions of large institutional players — the so-called "Whales." The strategy allows you to instantly evaluate any configuration you set within the indicator and see the results reflected in professional performance metrics aligned with your chosen strategy.
The indicator displays several signals on the chart:
1) Buy signal (not sell signals)
2) Take profit line and price
3) Stop loss line and price
4) Manipulations & Liquidations observed in the market
5) Whale activity—buying in small, medium, and large amounts
The indicator does not repaint because it is based on showing signals only after the candle closes, so the calculations are true and not distorted.
Recommended pair: BTCUSD ; BTCUSDT ; BTCUSDTP and same.
The indicator can show R/R - 0.5:1 1:1 1:2 1:3 1:4
Recommended timeframes for use: from 4 hours up to 1 week, with the ideal being 1 day. However, you are free to experiment with other near timeframes.
Possible trading modes: spot or futures.
Some methods used in the calculations of the indicator:
- statistical patterns that have the ability to repeat in the future. Bitcoin cycles in different market phases that also have the ability to repeat and are included in the indicator,
- miners' capitulation and hashrate level are also taken into account by the indicator,
- candle volumes and their deltas are taken into account in the calculations,
- as well as other bases such as RSI and its divergence, the crossing of EMA of various configurations and etc.
**How the strategy calculates positions:**
A position opens at the Buy signal level and is fixed at the level of the thick green line, which serves as the primary take profit target. Pyramiding (adding to positions) can be enabled in the settings.
The size of each position is adjustable via the settings. Importantly, each signal creates its own take profit lines. When pyramiding is enabled, all positions are eventually closed at the nearest take profit level generated by any of the pyramiding signals. This approach minimizes potential losses if the price doesn’t reach the maximum take profit levels initially set; the strategy closes positions at the closest available take profit level. This conservative method for strategy reduces risk, although ideally, each position in the pyramid should be closed at an individual take-profit level, which would lead to even better results during deep backtesting.
The strategy includes alerts that can be configured based on your platform’s capabilities. Alerts trigger on the chart when "Buy" or "Whale" signals are detected.
**Settings Overview:**
- Inside the strategy: default platform options.
- Inside the indicato have some filters:
1) allows traders to choose display modes
2) position entries based on market phase—rising or falling
3) can also select whether to trade after manipulations and liquidations
4) can also select whether to trade after whale activity (small medium or big amounts of whales).
You can manually adjust take profit and stop loss levels via simple method selections, making these flexible yet user-friendly. The indicator offers three main styles:
- "Universal" (standard levels)
- "Aggressive"
- "Conservative"
**Performance and caveats:**
Deep Backtested from day one of Bitcoin’s listing on various exchanges under specific conditions (no liquidations, certain settings), the indicator has shown a maximum drawdown of about 5-15%, with final returns surpassing "buy and hold" more than 1000000% and WinRate 93-100% However, it’s crucial to understand that such spectacular past performance does not guarantee future results.
If you are serious about your investments, remember that geopolitical events, institutional shifts, or other unforeseen factors can significantly impact Bitcoin’s price—or even its existence. Unfortunately, AI has not yet learned to fully account for these macro conditions within its adaptive mechanisms.
Trade wisely, and use this powerful tool responsibly.
Best regards,
Rawstocks 15 Minute ModelRawstocks 15-Minute Model
The Rawstocks 15-Minute Model is a precision intraday trading strategy designed for the US stock market (9:30 AM - 4:00 PM ET), optimized for the 15-minute timeframe. It combines institutional order flow concepts with Fibonacci retracements to identify high-probability reversal setups while enforcing strict risk management and session-based rules.
Key Features
Time-Based Execution
Trading Hours: 9:30 AM - 4:00 PM ET (no new entries after 4:00 PM)
Force Close: All positions auto-exit at 4:30 PM ET (prevents overnight risk)
Entry Logic
Order Block + Fib Confluence:
Identifies institutional order blocks (previous swing highs/lows)
Requires price pullback to 61.8% or 79% Fibonacci level
Liquidity Confirmation:
Waits for stop runs (liquidity sweeps) before reversal entries
Exit Rules
Stop Loss: 1x ATR (14) from entry
Take Profit: 2:1 Risk-Reward (adjustable)
Visual Signals
Green Triangle: Valid long setup (pullback to bullish OB + Fib)
Red Triangle: Valid short setup (pullback to bearish OB + Fib)
Blue/Purple Background: Highlights active trading vs. close period
How It Works
Identify the Setup
Wait for a strong impulse move (break of structure)
Mark the order block (institutional zone)
Confirm Pullback
Price must retrace to 61.8% or 79% Fib level
Must occur within trading hours (9:30 AM - 4:00 PM)
Enter on Confirmation
Long: Break of pullback candle high (stop below recent swing low)
Short: Break of pullback candle low (stop above recent swing high)
Manage the Trade
Trail stop or exit at 2R (risk-to-reward)
All positions close at 4:30 PM sharp
NY First Candle Break and RetestStrategy Overview
Session and Time Parameters:
The strategy focuses on the New York trading session, starting at 9:30 AM and lasting for a predefined session length, typically 3 to 4 hours. This timing captures the most active market hours, providing ample trading opportunities.
Strategy Parameters:
Utilizes the Average True Range (ATR) to set dynamic stop-loss levels, ensuring risk is managed according to market volatility.
Employs a reward-to-risk ratio to determine take profit levels, aiming for a balanced approach between potential gains and losses.
Strategy Settings:
Incorporates simple moving averages (EMA) and the Volume Weighted Average Price (VWAP) to identify trend direction and price levels.
Volume confirmation is used to validate breakouts, ensuring trades are based on significant market activity.
Trade Management:
Features a trailing stop mechanism to lock in profits as the trade moves in favor, with multiple take profit levels to secure gains incrementally.
The strategy is designed to handle both long and short positions, adapting to market conditions.
Alert Settings:
Provides alerts for key events such as session start, breakout, retest, and entry signals, helping traders stay informed and act promptly.
Visual cues on the chart highlight entry and exit points, making it easier for beginners to follow the strategy.
This strategy is particularly suited for the current volatile market environment, where simplicity and clear guidelines can help beginner traders navigate the complexities of trading. It emphasizes risk management and uses straightforward indicators to make informed trading decisions.
I put together this Trading View scalping strategy for futures markets with some help from Claude AI. Shoutout to everyone who gave me advice along the way—I really appreciate it! I’m sure there’s room for improvement, so feel free to share your thoughts… just go easy on me. :)